const qs = require("querystring");
let string = "p=7&time=233&user=none";
//parse 
let obj = qs.parse(string);
// console.log(obj);
//string
let str = qs.stringify(obj);
// console.log(str);
str = qs.stringify(obj,'+');
// console.log(str);
//escape
str = "w=你好"
let result = qs.escape(str);
console.log(result);
str = "w%3D%E4%BD%A0%E5%A5%BD";
result = qs.unescape(str);
console.log(result);